from google.appengine.ext import db
from google.appengine.api import users
import logging

# Log a message each time this module get loaded.
logging.info('Loading %s', __name__)


class InfluenceGrade(db.Model):
  # Taught Or Not Grades.
  author = db.UserProperty()
  score = db.StringProperty()
  date = db.DateTimeProperty(auto_now_add=True)
  subject_name = db.StringProperty()
  subject_id = db.StringProperty()
  object_id = db.StringProperty()
  object_name = db.StringProperty()
  influence_type = db.StringProperty()
  
  
class DeathGrade(db.Model):
  # Shot Or Not Grades.
  author = db.UserProperty()
  score = db.StringProperty()
  date = db.DateTimeProperty(auto_now_add=True)
  subject_name = db.StringProperty()
  subject_id = db.StringProperty()
  cause = db.StringProperty()
  fake_cause = db.StringProperty()
